package com.zjuh.taofood.biz.bo;

import java.io.Serializable;
import java.util.List;

public class SearchResult<T> implements Serializable {

	private static final long serialVersionUID = -683744774845229422L;

	private List<T> results;
	
	private long resultCount;

	public SearchResult() {
		super();
	}

	public SearchResult(List<T> results, long resultCount) {
		super();
		this.results = results;
		this.resultCount = resultCount;
	}

	public List<T> getResults() {
		return results;
	}

	public void setResults(List<T> results) {
		this.results = results;
	}

	public long getResultCount() {
		return resultCount;
	}

	public void setResultCount(long resultCount) {
		this.resultCount = resultCount;
	}
	
}
